<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- 引入bootstrap -->
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/js/font-awesome.min.css">
<!-- 引入JQuery  bootstrap.js-->
<script src="<%=request.getContextPath()%>/js/jquery-3.2.1.min.js"></script>
<script src="<%=request.getContextPath()%>/js/bootstrap.min.js"></script>

<!--主要样式控制-->
<link href="<%=request.getContextPath()%>/css/main.css" rel="stylesheet">
<html>
<head>
    <title>小学生数学技能竞赛后台页面</title>
    <script type="text/javascript"></script>
</head>
<body >
<!--顶部导航栏部分-->
<nav class="navbar navbar2">
    <div class="container-fluid">
        <!-- logo设置 -->
        <div class="navbar-header">
            <a class="logo" title="logoTitle" href="javascript:void(0)">小学生数学技能竞赛后台管理</a>
        </div>

        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav navbar-right">
                <li role="presentation">
                    <a href="#">欢迎您，<span class="badge">${admin.getName()}</span></a>
                </li>
                <li>
                    <a href="<%=request.getContextPath()%>/login"><span class="glyphicon glyphicon-lock"></span>退出登录</a>
                </li>
            </ul>
        </div>

    </div>   <!-- .container-fluid -->
</nav>

<!-- 中间主体内容部分 -->
<div class="pageContainer">
    <!-- 左侧导航栏 -->
    <div class="pageSidebar">
        <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">


            <!--首页-->
            <div class="panel2">

                <div class="panel-heading" role="tab">
                    <h4 class="panel-title">
                        <a role="button" href="<%=request.getContextPath()%>/welcome" target="mainFrame">
                            <span class="glyphicon glyphicon-home"></span>
                            首页
                        </a>
                    </h4>
                </div>

            </div>


            <!-- 资源库管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab" id="heading">
                    <h4 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse" aria-expanded="true" aria-controls="collapse">
                            <span class="glyphicon glyphicon-calendar"></span>
                            资源库管理
                            <span class="glyphicon glyphicon-menu-left pull-right"></span>
                        </a>
                    </h4>
                </div>

                <div id="collapse" class="collapse panel3" role="tabpanel" aria-labelledby="heading">
                    <div class="panel-body">
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="<%=request.getContextPath()%>/question/findByPage" target="mainFrame">资源库列表</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="<%=request.getContextPath()%>/question/toaddQuestion" target="mainFrame">添加题目</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="<%=request.getContextPath()%>/exam/challenge" target="mainFrame">进行竞赛测试</a>
                        </p>
                    </div>
                </div>
            </div>


            <!-- 用户管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab" id="headingOne">
                    <h4 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                            <span class="glyphicon glyphicon-user"></span>
                            用户管理
                            <span class="glyphicon glyphicon-menu-left pull-right"></span>
                        </a>
                    </h4>
                </div>

                <div id="collapseOne" class="collapse panel3" role="tabpanel" aria-labelledby="headingOne">
                    <div class="panel-body">
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="<%=request.getContextPath()%>/user/findByPage" target="mainFrame">用户列表</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="<%=request.getContextPath()%>/user/addUser" target="mainFrame">添加用户</a>
                        </p>

                    </div>
                </div>
            </div>


            <!-- 商城管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab" id="headingTwo">
                    <h4 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="true" aria-controls="collapseTwo">
                            <span class="glyphicon glyphicon-gift"></span>
                            商城管理
                            <span class="glyphicon glyphicon-menu-left pull-right"></span>
                        </a>
                    </h4>
                </div>

                <div id="collapseTwo" class="collapse panel3" role="tabpanel" aria-labelledby="headingTwo">
                    <div class="panel-body">
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav1.html" target="mainFrame">商品列表</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav2.html" target="mainFrame">积分和金币管理</a>
                        </p>
                    </div>
                </div>
            </div>

            <!-- 擂台赛管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab" id="headingThree">
                    <h4 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree">
                            <span class="glyphicon glyphicon-screenshot"></span>
                            擂台赛管理
                            <span class="glyphicon glyphicon-menu-left pull-right"></span>
                        </a>
                    </h4>
                </div>

                <div id="collapseThree" class="collapse panel3" role="tabpanel" aria-labelledby="headingThree">
                    <div class="panel-body">
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav1.html" target="mainFrame">擂台赛编制</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav2.html" target="mainFrame">待发布擂台赛</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav2.html" target="mainFrame">进行中擂台赛</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav2.html" target="mainFrame">已结束擂台赛</a>
                        </p>
                    </div>
                </div>
            </div>

            <!-- 学业水平报告管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab" id="headingFour">
                    <h4 class="panel-title">
                        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseFour" aria-expanded="true" aria-controls="collapseFour">
                            <span class="glyphicon glyphicon-book"></span>
                            学业水平报告管理
                            <span class="glyphicon glyphicon-menu-left pull-right"></span>
                        </a>
                    </h4>
                </div>

                <div id="collapseFour" class="collapse panel3" role="tabpanel" aria-labelledby="headingFour">
                    <div class="panel-body">
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav1.html" target="mainFrame">整体报告</a>
                        </p>
                        <p>
                            <span class="glyphicon glyphicon-record"></span>
                            <a href="nav2.html" target="mainFrame">知识点报告</a>
                        </p>
                    </div>
                </div>
            </div>

            <!-- 缴费管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab">
                    <h4 class="panel-title">
                        <a role="button" href="nav2.html" target="mainFrame">
                            <span class="glyphicon glyphicon-erase"></span>
                            缴费管理
                        </a>
                    </h4>
                </div>

            </div>

            <!-- 充值管理 -->
            <div class="panel2">

                <div class="panel-heading" role="tab">
                    <h4 class="panel-title">
                        <a role="button" href="nav2.html" target="mainFrame">
                            <span class="glyphicon glyphicon-fire"></span>
                            充值管理
                        </a>
                    </h4>
                </div>

            </div>
            <!-- 个人中心 -->
            <div class="panel2">

                <div class="panel-heading" role="tab">
                    <h4 class="panel-title">
                        <a href="<%=request.getContextPath()%>/person" target="mainFrame">
                            <span class="glyphicon glyphicon-cog"></span>
                            个人中心
                        </a>
                    </h4>
                </div>

            </div>



        </div>


    </div>

    <!-- 左侧导航和正文内容的分隔线 -->
    <div class="splitter"></div>

    <!-- 正文内容部分 -->
    <div class="pageContent">
        <iframe src="welcome" id="mainFrame" name="mainFrame"
                frameborder="0" width="100%"  height="100%" frameBorder="0">
        </iframe>
    </div>

</div>		<!-- 主体部分结束 -->

<!-- 底部页脚部分 -->
<div class="footer">
    <p class="text-center">
        2020 @ 小学生数学技能竞赛后台管理
    </p>
</div>


</body>
</html>